package com.zhiche.lisa.lspm.dao.mapper.fleet;


import com.baomidou.mybatisplus.mapper.BaseMapper;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.zhiche.lisa.lspm.dao.model.driver.bo.DriverCheckinLineBO;
import com.zhiche.lisa.lspm.dao.model.fleet.FleetAdmin;
import com.zhiche.lisa.lspm.vo.driver.DriverCheckinLineVO;
import com.zhiche.lisa.lspm.vo.fleet.FleetAdminVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 车队管理员表 Mapper 接口
 * </p>
 *
 * @author hongbo
 * @since 2018-10-29
 */
public interface FleetAdminMapper extends BaseMapper<FleetAdmin> {

    List<FleetAdminVO> queryFleetAdminList(Page<FleetAdminVO> page, @Param("ew") Wrapper<FleetAdminVO> ew);

    /**
     * 车队报班记录列表
     */
    List<DriverCheckinLineVO> fleetCheckinLine(Page<DriverCheckinLineBO> page,
                                                @Param("ew") Wrapper<DriverCheckinLineBO> ew);
}
